move the separator to the right place in the radio buttons window
authorJacob Berkman <jberkman@src.gnome.org>
Fri, 16 Nov 2001 22:58:32 +0000 (22:58 +0000)
committerJacob Berkman <jberkman@src.gnome.org>
Fri, 16 Nov 2001 22:58:32 +0000 (22:58 +0000)
tests/testgtk.c

index 3969e04d281673c831d8b06829b4e29f278361aa..a429c6becfcd36eec2fd26247c868ad6fa592ac2 100644 (file)
@@ -680,6 +680,10 @@ create_radio_buttons (void)
       separator = gtk_hseparator_new ();
       gtk_box_pack_start (GTK_BOX (box1), separator, FALSE, TRUE, 0);
 
+      box2 = gtk_vbox_new (FALSE, 10);
+      gtk_container_set_border_width (GTK_CONTAINER (box2), 10);
+      gtk_box_pack_start (GTK_BOX (box1), box2, TRUE, TRUE, 0);
+
       button = gtk_radio_button_new_with_label (NULL, "button4");
       gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (button), FALSE);
       gtk_box_pack_start (GTK_BOX (box2), button, TRUE, TRUE, 0);